home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000440_news@watsun.cc.columbia.edu _Thu Apr 15 16:28:37 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA15292
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 15 Apr 1999 16:28:36 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA27706
for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Apr 1999 16:02:40 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: Can kermit take its configuration from stdin? (Unix)
Date: 15 Apr 1999 20:02:39 GMT
Organization: Columbia University
Message-ID: <7f5gkv$r1o$1@newsmaster.cc.columbia.edu>
To: kermit.misc@watsun.cc.columbia.edu
In article <7f5f9b$2vp$1@nnrp1.dejanews.com>,
<john_cosimano@my-dejanews.com> wrote:
: I am trying to figure out if there is a way to have kermit take its
: configration file from stdin.
:
: I am running on RedHat Linux 5.2. Basically, I
: am running a multiport serial board (256 serial connections), and I want to
: avoid writing 256 configuration files. The only configuration directive that
: needs to change from file to file is the set line /dev/ttyC#. I figured it
: would be nice if I could have a template file and construct the full
: configuration file based on an argument or two I pass to a wrapper script I
: have written for my application.
:
: My idea, however, will only work if one can force kermit to take its config
: from stdin. A cursory glance through the documentation didn't show anything
: promising. Is this possible?
:
No. Why not just pass the device name on the command line? Example:
kermit -l /dev/ttyS0
Or in a shell script:
kermit -l $1
This way, the initialization file is independent of the device.
- Frank